From: Bozhidar Batsov Date: Wed, 20 Nov 2013 10:52:07 +0000 (+0200) Subject: * lisp/progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template): X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~2362 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=638af3a10fcce157e41437d45a4a075c95dd555a;p=emacs.git * lisp/progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template): Change default to "# encoding: %s" to differentiate it from the default Ruby encoding comment template. --- diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el index 28c44307ff2..0e507b82115 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el @@ -272,7 +272,7 @@ even if it's not required." (const :tag "Custom Style" custom)) :group 'ruby) -(defcustom ruby-custom-encoding-magic-comment-template "# coding: %s" +(defcustom ruby-custom-encoding-magic-comment-template "# encoding: %s" "The encoding comment template to be used when `ruby-encoding-magic-comment-style' is set to `custom'." :type 'string